﻿using System;
using System.Runtime.Serialization;
using NCMIS.ObjectModel.MetaData;

namespace NCMIS.Produce
{
    /// <summary>
    ///  Indicates whether or not the repository exposes renditions of document objects.
    /// </summary>
    [DataContract(Namespace = CmisNs.Cmis)]
    public enum CapabilityRendition
    {
        /// <summary>
        /// The repository does not expose renditions at all.
        /// </summary>
        [EnumMember(Value = "none")]
        None,

        /// <summary>
        /// Renditions are provided by the repository and readable by the client.
        /// </summary>
        [EnumMember(Value = "read")]
        Read,
    }
}
